###
 # @Author: hammercui
 # @Date: 2020-07-31 13:38:59
 # @LastEditors: hammercui
 # @LastEditTime: 2020-07-31 14:07:52
 # @FilePath: /docker-service-config/start_sh/kong_coder/kong-postinit.sh
 # @Description: 描述
### 
# 在数据库容器创建后,并且docker容器进行状态，执行初始化数据库
sudo docker run --rm --network=kong-net-coder \
-e KONG_DATABASE=postgres \
-e KONG_PG_HOST=kong-database-coder \
-e KONG_PG_PASSWORD=LA1954b! \
-e KONG_CASSANDRA_CONTACT_POINTS=kong-database-coder \
kong:latest kong migrations bootstrap